package jwdt.xadmin.finace.bean;

import java.util.List;

import com.ezerg.db.Jdb;
import com.ezerg.db.annotation.Column;
import com.ezerg.db.annotation.Table;

@SuppressWarnings("rawtypes")
@Table(name="ha_fl", keys={"fldm"}, comment="字典分类")
public class HaFl implements java.io.Serializable {

	private static final long serialVersionUID = 1L;

	@Column(value="fldm", comment="分类代码")
	private String fldm = "";
	
	@Column(value="flmc", comment="分类名称")
	private String flmc = "";
	
	@Column(value="zt", comment="状态")
	private Integer zt;
	
	@Column(value="px", comment="排序")
	private Integer px;

	public List getFlmx() {
		return Jdb.get().query(HaFlmx.class, "fldm='"+fldm+"'");
	}
	
	public String getFldm() {
		return fldm;
	}

	public void setFldm(String fldm) {
		this.fldm = fldm;
	}

	public String getFlmc() {
		return flmc;
	}

	public void setFlmc(String flmc) {
		this.flmc = flmc;
	}

	public Integer getZt() {
		return zt;
	}

	public void setZt(Integer zt) {
		this.zt = zt;
	}
	
	public Integer getPx() {
		return px;
	}

	public void setPx(Integer px) {
		this.px = px;
	}

}
